//
//  JigSawButtonStripView.h
//  JigSawKiosk
//
//  Created by shaun on 10-11-03.
//  Copyright 2010 FruitonLabs. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import <Quartz/Quartz.h>
#import <QTKit/QTKit.h>

#import "JigSawMovieButton.h"


@interface JigSawButtonStripView : CALayer {
	//CALayer *rootLayer ;
	
	NSMutableArray *stripMovieButtonArray ;
	
	NSMutableArray *stripUrlArray ;
	
	NSTimer *stripPreviewIterationTimer ;

	int currentPreview ;
	int currentStrip ;

}


- (id)initWithObjects:(CGRect)_frameSize urls:(NSMutableArray*)urls ;

-(void) setupLayers ;

- (void) previewIterationTimerMethod:(NSTimer*) timer ;
- (void) stripNumberTimerMethod:(NSTimer*)timer ;

-(void) startPreviews ;
-(void) stopAllPreviews ;

-(void) stopPreviewAtIndex:(int) index ;
-(void) startPreviewAtIndex:(int) index ;
-(void) stripNumber:(int) strip ;

@property (nonatomic, retain) NSMutableArray *stripMovieButtonArray ;
//@property (nonatomic, retain) CALayer *rootLayer ;
//@property (nonatomic, retain) NSTimer *previewIterationTimer ;


@end
